public class J02buer {
    public static void main(String[] args) {
        int a = 6;
        //关键字
        boolean b1 = true;//false
        System.out.println("b1 = " + b1);

        System.out.println("=====");
        boolean b2 = 3==3;
        System.out.println("b2 = " + b2);//true
        System.out.println(6==7);//false

        System.out.println(3!=2);//true
        System.out.println(3>=5);//false
        System.out.println(3>=3);//true

        System.out.println("==逻辑运算===");
        // 逻辑与，and符
        System.out.println(true & true);//true
        System.out.println(true & false);//false
        System.out.println((3>2) & (4>5));//false
        System.out.println((3>2) & (8>5));//true

        System.out.println(false | false);//false
        System.out.println(false | true);//true

        System.out.println(!true);//false
        System.out.println(!false);//true
    }
}
